58 WDT_A_hold(WDT_A_BASE);
66 GPIO_setAsPeripheralModuleFunctionOutputPin(
69 GPIO_TERNARY_MODULE_FUNCTION
86 Comp_E_initParam
param = {0};
87 param.posTerminalInput = COMP_E_INPUT2;
88 param.negTerminalInput = COMP_E_VREF;
89 param.outputFilterEnableAndDelayLevel = COMP_E_FILTEROUTPUT_OFF;
90 param.invertedOutputPolarity = COMP_E_NORMALOUTPUTPOLARITY;
91 Comp_E_init(COMP_E_BASE, &
param);
99 Comp_E_setReferenceVoltage(COMP_E_BASE,
100 COMP_E_REFERENCE_AMPLIFIER_DISABLED,
114 Comp_E_disableInputBuffer(COMP_E_BASE,
118 Comp_E_enable(COMP_E_BASE);
122 __bis_SR_register(LPM4_bits);
MPU_initThreeSegmentsParam param